import request from '@/utils/request'

export function fetchHomework(data) {
  return request({
    url: '/homework/list',
    method: 'get',
    params: data
  })
}

export function launchHomework(data) {
  return request({
    url: '/homework/save',
    method: 'post',
    params: data
  })
}

export function deleteHomework(data) {
  return request({
    url: '/homework/delete',
    method: 'post',
    params: data
  })
}
